package libs;

/**
 *
 * @author papi
 */
abstract public class AbstractExistence implements Existence {

    private boolean exists = false;

    /**
     *          It checks entity existence.
     *
     * @return  TRUE if the entity exists, otherwise FALSE.
     */
    public boolean exists() {
        return exists;
    }

    /**
     *          It sets existence of the entity.
     *
     * @param   exists  TRUE if the enity exists, otherwise FALSE.
     */
    protected void setExistence(boolean exists) {
        this.exists = exists;
    }


}
